package com.ruoyi.project.g6.entity;

import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * 用户名密码的封装
 */
@Data
public class Auth {
    @NotEmpty(message = "用户名不能为空")
    private String username;
    @NotEmpty(message = "密码不能为空")
    private String password;

}
